package com.chaoyi.exception;



/**
 * 请求参数异常
 *
 * @author xuanqicheng
 * @create 2018-13-下午4:32
 */
public class ParameterException extends RuntimeException {

    private int code;
    private String message;

    public ParameterException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
